Skip to content

Conversation

@sefiani-ovh
Copy link
Contributor

ref: #MANAGER-19946

@github-actions github-actions bot added the has conflicts Has conflicts to resolve before merging label Oct 30, 2025
pauldkn
pauldkn previously approved these changes Oct 30, 2025
ref: #MANAGER-19946

Signed-off-by: ahmed sefiani <[email protected]>
@github-actions github-actions bot removed the has conflicts Has conflicts to resolve before merging label Oct 30, 2025
@@ -0,0 +1,6 @@
{
"dedicated_cloud_dashboard_customer_vcfaas_migration_banner": "Nouvelle offre Public VCF as-a-Service - Tarifs ultra compétitifs et migration gratuite - Découvrir <a href=\"{{ url }}\" target=\"_blank\"> l'offre </a> et Testez votre éligibilité",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange mix of tenses
Either Découvrir ... et tester ... or Découvrez ... et testez ...

Suggested change
"dedicated_cloud_dashboard_customer_vcfaas_migration_banner": "Nouvelle offre Public VCF as-a-Service - Tarifs ultra compétitifs et migration gratuite - Découvrir <a href=\"{{ url }}\" target=\"_blank\"> l'offre </a> et Testez votre éligibilité",
"dedicated_cloud_dashboard_customer_vcfaas_migration_banner": "Nouvelle offre Public VCF as-a-Service - Tarifs ultra compétitifs et migration gratuite - Découvrir <a href=\"{{ url }}\" target=\"_blank\">l'offre</a> et testez votre éligibilité",

Comment on lines +13 to +17
this.pending = false;
this.displayMigrationBanner = false;
}

$onInit() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.pending = false;
this.displayMigrationBanner = false;
}
$onInit() {
}
$onInit() {
this.pending = false;
this.displayMigrationBanner = false;

Comment on lines +1761 to +1770
return this.OvhHttp.post(
`/dedicatedCloud/{serviceName}/requestContactForVmwareCloudDirectorMigration`,
{
rootPath: 'apiv6',
urlParams: {
serviceName,
},
},
);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OvhHttp is deprecated, use $http instead

Comment on lines +177 to +188
customerVcfaasMigrationBannerAvailability: /* @ngInject */ (
ovhFeatureFlipping,
) =>
ovhFeatureFlipping
.checkFeatureAvailability(
'dedicated-cloud:customerVcfaasMigrationBanner',
)
.then((featureAvailability) =>
featureAvailability.isFeatureAvailable(
'dedicated-cloud:customerVcfaasMigrationBanner',
),
),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There a lot of featureAvailability calls inside the resolve section. Making one call for each feature is not very performant.
It could be optimized to make only one call

 features: /* @ngInject */ (ovhFeatureFlipping) => ovhFeatureFlipping
          .checkFeatureAvailability('feature1', 'feature2',..., 'dedicated-cloud:customerSurveyBanner', 'dedicated-cloud:customerVcfaasMigrationBanner'),
customerVcfaasMigrationBannerAvailability: /* @ngInject */ (
        features,
      ) => features.isFeatureAvailable(
              'dedicated-cloud:customerVcfaasMigrationBanner',
      ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants